.page-enter-active {
  opacity: 0;
  transition: 1s;
}

.page-enter-to {
  opacity: 1;
  animation: page-enter 1s forwards;
}

.page-leave-active {
  opacity: 1;
  transition: 1s;
}

.page-leave-to {
  opacity: 0;
  animation: page-leave .7s forwards;
}

@keyframes page-enter {
  0% {
    transform: scaleY(0) scaleX(0);
  }
  40% {
    transform: scaleY(0.1) scaleX(1);
  }
  100% {
    transform: scaleY(1) scaleX(1);
  }
}

@keyframes page-leave {
  0% {
    transform: scaleY(1) scaleX(1);
  }
  60% {
    transform: scaleY(0.1) scaleX(1);
  }
  100% {
    transform: scaleY(0) scaleX(0);
  }
}
